package com.base.service.impl;

import com.base.mapper.voipmapper.AboutsMapper;
import com.base.mapper.voipmapper.AppIconMapper;
import com.base.po.voip.Abouts;
import com.base.po.voip.AboutsExample;
import com.base.po.voip.AppIcon;
import com.base.po.voip.AppIconExample;
import com.base.service.AboutsService;
import com.base.service.AppIconService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("appIconService")
public class AppIconServiceImpl implements AppIconService {
	
	@Autowired
	private AppIconMapper appIconMapper;


	@Override
	public int countByExample(AppIconExample example) {
		return appIconMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(AppIconExample example) {
		return appIconMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return appIconMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(AppIcon record) {
		return appIconMapper.insert(record);
	}

	@Override
	public int insertSelective(AppIcon record) {
		return appIconMapper.insertSelective(record);
	}

	@Override
	public List<AppIcon> selectByExample(AppIconExample example) {
		return appIconMapper.selectByExample(example);
	}

	@Override
	public List<AppIcon> selectByParentId(String parentid) {
		return appIconMapper.selectByParentId(parentid);
	}

	@Override
	public AppIcon selectByPrimaryKey(Integer id) {
		return appIconMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(AppIcon record, AppIconExample example) {
		return appIconMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(AppIcon record, AppIconExample example) {
		return appIconMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(AppIcon record) {
		return appIconMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(AppIcon record) {
		return appIconMapper.updateByPrimaryKey(record);
	}
}
